class {
    onCreate() {
        this.state = {
            showLast: true
        }
    }
}

<container showLast=state.showLast/>